using System;
using UnityEngine;

[Serializable]
public class rate : MonoBehaviour
{
	public rate1 rate;

	public void Start()
	{
		if (PlayerPrefs.GetInt("Matches Played") > 8)
		{
			if (PlayerPrefs.GetInt("Rated") == 0)
			{
				rate.enabled = true;
				GetComponent<Collider>().enabled = true;
			}
			else if (PlayerPrefs.GetInt("Rated") == 2 && PlayerPrefs.GetInt("Matches Played") > 18)
			{
				rate.enabled = true;
				GetComponent<Collider>().enabled = true;
			}
		}
	}

	public void Main()
	{
	}
}
